package cn.iocoder.yudao.module.system.controller.admin.a_quest.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 待办分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class QuestPageReqVO extends PageParam {

    @Schema(description = "待办名称", example = "赵六")
    private String questname;

    @Schema(description = "待办备注", example = "你说的对")
    private String remark;

    @Schema(description = "待办所属人", example = "你说的对")
    private String transactor;

    @Schema(description = "关联id")
    private String relevanceid;

    @Schema(description = "待办类型", example = "2")
    private Integer questtype;

    @Schema(description = "待办状态", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createtime;

    @Schema(description = "结束")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endTime;

}
